{extend name="main/index" /}
{block name="main"}
<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
        </script>

        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="#">消息列表</a>
            </li>
        </ul><!-- .breadcrumb -->

        <!-- <div class="nav-search" id="nav-search">
            <form class="form-search">
                <span class="input-icon">
                    <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
                    <i class="icon-search nav-search-icon"></i>
                </span>
            </form>
        </div> -->
    </div>

    <div class="page-content">
        <h3 class="header smaller lighter blue">消息列表</h3>
        <div class="row">
            <div class="col-xs-12">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="table-responsive">
                            <table id="sample-table-2" class="table table-striped table-bordered table-hover">
                                <thead>
                                    <tr>
                                        <th>ID</th>
                                        <th>项目名称</th>
                                        <th class="hidden-480">项目状态</th>
                                        <th class="hidden-480">提示消息</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                {volist name="list" id="v"}
                                    <tr>
                                        <td>{$v['id']}</td>
                                        <td>{$v['project_name']}</td>
                                        <td>
                                            
                                            <?php if ($v['project_status'] ==1 ): ?>
                                                审核中~
                                            <?php elseif($v['project_status']==2): ?>
                                                开工中~
                                            <?php else: ?>
                                                已完工
                                            <?php endif ?>
                                        </td>
                                        <td>{$v['content']}</td>
                                        <td>
                                            <!-- <a href="">修改</a> |  -->
                                            <button data-id="{$v['id']}" class="btn btn-xs btn-danger del-btn">删除</button>
                                        </td>
                                    </tr>
                                {/volist}
                                </tbody>
                            </table>
                        </div>
                        {$list->render()}
                    </div>
                </div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content -->
</div>
{/block}


{block name="myjs"}
{js href="/static/admin/assets/js/toastr.min.js"}
{js href="/static/admin/assets/xiaojs/admin_info.js"}
{/block}




